{if !$P->islast}
<li class="pagination_next"><a href="{$P->nextlink}">{i18n('pagination.default.next')}</a></li>
{/if}